package com.club.football.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.club.football.dto.PageDto;
import com.club.football.entity.EventsTeams;
import com.club.football.req.EventsTeamsReq;
import com.club.football.utils.R;
import com.club.football.vo.EventsTeamsListVo;
import com.club.football.vo.EventsTeamsVo;

import java.util.List;

/**
 * 比赛队
 *
 * @author 1
 * @date 2024/01/09
 */
public interface EventsTeamsService extends IService<EventsTeams> {


    /**
     * 匹配队页面
     *
     * @param pageDto       页数到页
     * @param eventsTeamsReq 参赛队请求
     * @return {@link R}
     */
    R<Page<EventsTeamsVo>> eventsTeamsPage(PageDto<EventsTeams> pageDto, EventsTeamsReq eventsTeamsReq);

    /**
     * 赛事团队列表
     *
     * @param eventsTeamsReq 赛事团队要求
     * @return {@link R}<{@link List}<{@link EventsTeamsVo}>>
     */
    R<EventsTeamsListVo> eventsTeamsList(EventsTeamsReq eventsTeamsReq);
}
